import { get,post } from "../request/request";

export const getArtWokrList=(categoryId,title)=>{
	return get(`/system/artwork`,{categoryId,title})
}

// 获取作品详情
export const getArtWorkDetail=(id)=>{
	return get(`/system/artwork/${id}`)
}

// 发布作品
export const putArtWork = (artdto)=>{
	return post('/system/artwork/add',artdto)
}